﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--#include file="Include/Config2.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%
'----------------------------------------------------------
'页面功能：用户留言页。
'最后修改时间：2007-11-23 21时26分
'作者：legal http://www.ilegal.cn
'备注：
'----------------------------------------------------------
if request.Form.count>0 then
	GB_user=HTMLEncode(trim(request.Form("GB_user")))
	GB_qq=HTMLEncode(trim(request.Form("GB_qq")))
	GB_phone=HTMLEncode(trim(request.Form("GB_phone")))
	GB_email=HTMLEncode(trim(request.Form("GB_email")))
	GB_content=HTMLEncode(trim(request.Form("GB_content")))
	sql="select * from guestbook"
	rs.open sql,conn,1,3
	application.UnLock()
	rs.addnew
	rs("GB_user")=GB_user
	rs("GB_qq")=GB_qq
	rs("GB_phone")=GB_phone
	rs("GB_email")=GB_email
	rs("GB_content")=GB_content
	rs.update
	application.Lock()
	rs.close
	Call ShowAlert("留言成功，感谢参与！","Guest_Book.asp")
end if
%>
</html>